using System;
using System.Collections.Generic;
using System.Text;
using System.Data.OleDb;

namespace TerryDong.Data
{
    public sealed class DbOleDb:DbBase
    {
        private System.Data.Common.DbProviderFactory factory;
        public DbOleDb(string connString)
        {
            factory = System.Data.Common.DbProviderFactories.GetFactory("System.Data.OleDb");
            this.CreateInstance(connString);
        }
        protected override void CreateInstance(string connString)
        {
            DataFactory = factory;
            ConnectionString = connString;
        }
    }
}
